<?php
    $user = $this->Session->read('Auth.User');
  
?>

<ul>
    <li><?php echo $user['username'] ?></li>

       <li><?php echo $this->Html->link(__('Profile', true), array('controller' => 'users', 'action' => 'profile')) ?></li>
      <li><?php echo $this->Html->link(__('Logout', true), array('controller' => 'users', 'action' => 'logout')) ?></li>
</ul>
